#include "Cste.hpp"

/*
Cste::Cste():SymboleVal("Cste")
{
}
*/

Cste::Cste(string category):SymboleVal(category)
{
}

Cste::Cste(double val):SymboleVal("Cste")
{
	this->val = val;
	this->affected = true;
}

/*
double Cste::getValue() const {
	return this->val;
}

void Cste::print(ostream& os) const{
  	os << this->val << " (" << this->type << ")";
}

string Cste::toString() const{
  	stringstream oss;
  	if(this->type != NULL) {
  	  	oss << this->val << " (" << this->type->getName() << ")";
  	} else {
  		oss << this->val << " (" << this->type << ")";
  	}
  	return  oss.str();
}
*/
